package com.jinke.api.modules.app.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum SysMessageType {

    NOTIFY(1, "通知"),
    CUSTOMER_SERVICE(2, "客服消息"),
    SYSTEM(3, "系统消息"),
    ;


    @EnumValue
    @JsonValue
    private final int value;
    private final String desc;

    SysMessageType(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }


}